[INFO] cloning repository https://github.com/SheldonHH/CanIWin_Rust_Call_CPP
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SheldonHH/CanIWin_Rust_Call_CPP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheldonHH%2FCanIWin_Rust_Call_CPP", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheldonHH%2FCanIWin_Rust_Call_CPP'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4d7c2da9f518c4e882dbfaceaeffde510484bc9d
[INFO] fixing SheldonHH/CanIWin_Rust_Call_CPP against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheldonHH%2FCanIWin_Rust_Call_CPP" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/SheldonHH/CanIWin_Rust_Call_CPP
[INFO] finished tweaking git repo https://github.com/SheldonHH/CanIWin_Rust_Call_CPP
[INFO] tweaked toml for git repo https://github.com/SheldonHH/CanIWin_Rust_Call_CPP written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SheldonHH/CanIWin_Rust_Call_CPP on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SheldonHH/CanIWin_Rust_Call_CPP already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6b6d19754567b90aca33ae5ca2a5df3343a0aebb6f6680848df5b6b763c50244
[INFO] running `Command { std: "docker" "start" "6b6d19754567b90aca33ae5ca2a5df3343a0aebb6f6680848df5b6b763c50244", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6b6d19754567b90aca33ae5ca2a5df3343a0aebb6f6680848df5b6b763c50244" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b6d19754567b90aca33ae5ca2a5df3343a0aebb6f6680848df5b6b763c50244", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6b6d19754567b90aca33ae5ca2a5df3343a0aebb6f6680848df5b6b763c50244" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   digest v0.9.0 (as host dependency) removed features: alloc, std
[INFO] [stderr]   generic-array v0.14.7 (as host dependency) removed features: more_lengths
[INFO] [stderr]   getrandom v0.2.15 removed features: custom, js, js-sys, wasm-bindgen
[INFO] [stderr]   libc v0.2.155 removed features: default, std
[INFO] [stderr]   libsecp256k1-core v0.2.2 removed features: default
[INFO] [stderr]   num-bigint v0.4.6 (as host dependency) removed features: default, std
[INFO] [stderr]   num-integer v0.1.46 (as host dependency) removed features: std
[INFO] [stderr]   num-traits v0.2.19 (as host dependency) removed features: default, std
[INFO] [stderr]   once_cell v1.19.0 removed features: default, std
[INFO] [stderr]   serde v1.0.203 (as host dependency) removed features: derive, serde_derive
[INFO] [stderr] 
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling cc v1.0.104
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling scratch v1.0.7
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling cxxbridge-flags v1.0.124
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling borsh v1.5.1
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking libsecp256k1-core v0.2.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]    Compiling solana-program v2.0.1
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]    Compiling link-cplusplus v1.0.9
[INFO] [stderr]    Compiling cxx v1.0.124
[INFO] [stderr]    Compiling blake3 v1.5.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]     Checking ark-std v0.4.0
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.3
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.3
[INFO] [stderr]    Compiling cxx-build v1.0.124
[INFO] [stderr]    Compiling ark-serialize-derive v0.4.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-ff-asm v0.4.2
[INFO] [stderr]    Compiling ark-ff-macros v0.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling syn_derive v0.1.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling solana-sdk-macro v2.0.1
[INFO] [stderr]    Compiling bytemuck_derive v1.7.0
[INFO] [stderr]    Compiling cxxbridge-macro v1.0.124
[INFO] [stderr]     Checking ark-serialize v0.4.2
[INFO] [stderr]    Compiling borsh-derive v1.5.1
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]     Checking ark-ff v0.4.2
[INFO] [stderr]    Compiling CanIWin_Rust_Call_CPP v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]     Checking ark-poly v0.4.2
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking bv v0.11.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking ark-ec v0.4.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.10.3
[INFO] [stderr]     Checking borsh v0.10.3
[INFO] [stderr]     Checking ark-bn254 v0.4.0
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.96s
[INFO] [stderr] crater-edition-check: CanIWin_Rust_Call_CPP v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]     Checking libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling CanIWin_Rust_Call_CPP v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]     Checking ark-std v0.4.0
[INFO] [stderr]     Checking ark-serialize v0.4.2
[INFO] [stderr]    Compiling ark-ff-macros v0.4.2
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking ark-ff v0.4.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.10.3
[INFO] [stderr]     Checking borsh v0.10.3
[INFO] [stderr]     Checking ark-poly v0.4.2
[INFO] [stderr]     Checking ark-ec v0.4.2
[INFO] [stderr]     Checking ark-bn254 v0.4.0
[INFO] [stderr]     Checking solana-program v2.0.1
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{thread, time::Duration};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{thread, time::Duration};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   digest v0.9.0 (as host dependency) removed features: alloc, std
[INFO] [stderr]   generic-array v0.14.7 (as host dependency) removed features: more_lengths
[INFO] [stderr]   getrandom v0.2.15 removed features: custom, js, js-sys, wasm-bindgen
[INFO] [stderr]   libc v0.2.155 removed features: default, std
[INFO] [stderr]   libsecp256k1-core v0.2.2 removed features: default
[INFO] [stderr]   num-bigint v0.4.6 (as host dependency) removed features: default, std
[INFO] [stderr]   num-integer v0.1.46 (as host dependency) removed features: std
[INFO] [stderr]   num-traits v0.2.19 (as host dependency) removed features: default, std
[INFO] [stderr]   once_cell v1.19.0 removed features: default, std
[INFO] [stderr]   serde v1.0.203 (as host dependency) removed features: derive, serde_derive
[INFO] [stderr] 
[INFO] [stderr]     Checking CanIWin_Rust_Call_CPP v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `CanIWin_Rust_Call_CPP`
[INFO] [stderr]  --> src/main.rs
[INFO] [stderr]   = cause: error: expected one of `!`, `+`, `::`, `;`, `where`, or `{`, found keyword `unsafe`
[INFO] [stderr]              --> src/main.rs:11:56
[INFO] [stderr]               |
[INFO] [stderr]             6 |     unsafe extern "C++" {
[INFO] [stderr]               |                         - while parsing this item list starting here
[INFO] [stderr]            ...
[INFO] [stderr]            11 |         fn new_solution() -> UniquePtr<Solutionunsafe >unsafe ;
[INFO] [stderr]               |                                                        ^^^^^^ expected one of `!`, `+`, `::`, `;`, `where`, or `{`
[INFO] [stderr]            12 |         fn canIWin(self: &Solution, max_choosable_integer: i32, desired_total: i32) -> boolunsafe ;
[INFO] [stderr]            13 |     }
[INFO] [stderr]               |     - the item list ends here
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected `;`
[INFO] [stderr]              --> src/main.rs:11:56
[INFO] [stderr]               |
[INFO] [stderr]            11 |         fn new_solution() -> UniquePtr<Solutionunsafe >unsafe ;
[INFO] [stderr]               |                                                        ^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/main.rs:11:49
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn new_solution() -> UniquePtr<Solution>;
[INFO] [stdout]    |                                                 ^
[INFO] [stdout]    |                                                 |
[INFO] [stdout]    |                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout]    = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/main.rs:12:92
[INFO] [stdout]    |
[INFO] [stdout] 12 |         fn canIWin(self: &Solution, max_choosable_integer: i32, desired_total: i32) -> bool;
[INFO] [stdout]    |                                                                                            ^
[INFO] [stdout]    |                                                                                            |
[INFO] [stdout]    |                                                                                            help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/main.rs:11:48
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn new_solution() -> UniquePtr<Solution>;
[INFO] [stdout]    |                                                ^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `CanIWin_Rust_Call_CPP`
[INFO] [stderr]  --> src/main.rs
[INFO] [stderr]   = cause: error: expected one of `!`, `+`, `::`, `;`, `where`, or `{`, found keyword `unsafe`
[INFO] [stderr]              --> src/main.rs:11:56
[INFO] [stderr]               |
[INFO] [stderr]             6 |     unsafe extern "C++" {
[INFO] [stderr]               |                         - while parsing this item list starting here
[INFO] [stderr]            ...
[INFO] [stderr]            11 |         fn new_solution() -> UniquePtr<Solutionunsafe >unsafe ;
[INFO] [stderr]               |                                                        ^^^^^^ expected one of `!`, `+`, `::`, `;`, `where`, or `{`
[INFO] [stderr]            12 |         fn canIWin(self: &Solution, max_choosable_integer: i32, desired_total: i32) -> boolunsafe ;
[INFO] [stderr]            13 |     }
[INFO] [stderr]               |     - the item list ends here
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected `;`
[INFO] [stderr]              --> src/main.rs:11:56
[INFO] [stderr]               |
[INFO] [stderr]            11 |         fn new_solution() -> UniquePtr<Solutionunsafe >unsafe ;
[INFO] [stderr]               |                                                        ^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/main.rs:11:49
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn new_solution() -> UniquePtr<Solution>;
[INFO] [stdout]    |                                                 ^
[INFO] [stdout]    |                                                 |
[INFO] [stdout]    |                                                 help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout]    = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/main.rs:12:92
[INFO] [stdout]    |
[INFO] [stdout] 12 |         fn canIWin(self: &Solution, max_choosable_integer: i32, desired_total: i32) -> bool;
[INFO] [stdout]    |                                                                                            ^
[INFO] [stdout]    |                                                                                            |
[INFO] [stdout]    |                                                                                            help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: extern blocks should be unsafe
[INFO] [stdout]   --> src/main.rs:11:48
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn new_solution() -> UniquePtr<Solution>;
[INFO] [stdout]    |                                                ^
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                help: needs `unsafe` before the extern keyword: `unsafe`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-extern.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: CanIWin_Rust_Call_CPP v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling CanIWin_Rust_Call_CPP v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/main.rs:11:49
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn new_solution() -> UniquePtr<Solution>;
[INFO] [stdout]    |                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/main.rs:12:92
[INFO] [stdout]    |
[INFO] [stdout] 12 |         fn canIWin(self: &Solution, max_choosable_integer: i32, desired_total: i32) -> bool;
[INFO] [stdout]    |                                                                                            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/main.rs:11:48
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn new_solution() -> UniquePtr<Solution>;
[INFO] [stdout]    |                                                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/main.rs:11:49
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn new_solution() -> UniquePtr<Solution>;
[INFO] [stdout]    |                                                 ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/main.rs:12:92
[INFO] [stdout]    |
[INFO] [stdout] 12 |         fn canIWin(self: &Solution, max_choosable_integer: i32, desired_total: i32) -> bool;
[INFO] [stdout]    |                                                                                            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/main.rs:11:48
[INFO] [stdout]    |
[INFO] [stdout] 11 |         fn new_solution() -> UniquePtr<Solution>;
[INFO] [stdout]    |                                                ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{thread, time::Duration};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `CanIWin_Rust_Call_CPP` (bin "CanIWin_Rust_Call_CPP" test) due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `thread` and `time::Duration`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{thread, time::Duration};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `CanIWin_Rust_Call_CPP` (bin "CanIWin_Rust_Call_CPP") due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "6b6d19754567b90aca33ae5ca2a5df3343a0aebb6f6680848df5b6b763c50244", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b6d19754567b90aca33ae5ca2a5df3343a0aebb6f6680848df5b6b763c50244", kill_on_drop: false }`
[INFO] [stdout] 6b6d19754567b90aca33ae5ca2a5df3343a0aebb6f6680848df5b6b763c50244
